﻿using System.Linq;

namespace CustomerContactSystem.Core.Infrastructure.DataAccess {
    public interface IRepository<T> {
        IQueryable<T> Query();
        void Add(T entity);
        void Update(T entity);
        void Delete(T entity);
        T GetById(object id);
        T LoadReference(object id);
    }
}